﻿function SpFileExplorer(clientName, tv, cbn){
  var _util = Library.WebControl.Util;
  var _instance = this;
  window[clientName] = _instance;
	_globalHashObject.Add(clientName, _instance);
  var _treeViewInstance = tv;
  var _panelCallbackInstance = cbn;
  this.ShowContent=function(div) {
		var li = _util.FindParent(div, "li", "tvitem");
		var key = _treeViewInstance.GetKeyFromNode(li);
    _panelCallbackInstance.AddParameter("__SPFEVTF_", key);
    _panelCallbackInstance.SendCallback("", function(s, e){ });
  };  
};